package com.hoshiicloud.payment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @program: hoshiicloud
 * @description: 微信支付配置实体类
 * @author: Mr.wu
 * @create: 2019-05-27 14:49
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel
public class WeixinPayConfig {

    @ApiModelProperty(value = "微信appId", example = "testAppId", required = true)
    private String appId;
    @ApiModelProperty(value = "微信appKey", example = "testKey", required = true)
    private String appKey;
    @ApiModelProperty(value = "微信商户号", example = "testMchId", required = true)
    private String mchId;
    @ApiModelProperty(value = "证书文件key,修改时需要传入", example = "testObjectKey", hidden = false)
    private String cert;
}
